package com.lingxinst.business.login.utils

import com.lynn.common.utils.EmptyUtil
import com.lynn.common.utils.spf.LocalCacheUtil

/**
 * @description:
 * @author: Lynn
 * @datetime: 2025/6/25 15:05
 **/
object LoginUtil {

    fun checkLogin(): Boolean {
        // Get the token from the local cache
        val token = LocalCacheUtil.token
        // Return true if the token is not empty, otherwise return false
        return !EmptyUtil.isEmpty(token)
    }
}